package org.example.printstream;

import java.io.*;

public class PrintWriterDemo2 {
    public static void main(String[] args) throws IOException {

        PrintWriter pw = new PrintWriter(new FileWriter("./pw2.txt"), true);

        pw.write(1);
    }
}
